<template>
  <!-- Mixins语法： -->
  <div>
    <hr />
    <div>
      <button type="button" @click="fn1">fn1</button>
      <button type="button" @click="fn2">fn2</button>
    </div>
  </div>
</template>

<script>
import myMixins from "./mixins/demo-mixins.js";

export default {
  data() {
    return {
      username: "张三",
      age: 23,
      height: 180,
    };
  },
  mixins: [myMixins],
};
</script>

<style>
</style>